﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace FJERP
{
    public partial class Loginx : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //判断上一次是否记住了密码，如果上次记住了，则取出记住的密码
                HttpCookie c = Request.Cookies["loginx"];
                if (c != null)
                {
                    this.email.Value = c["name"];
                    this.password.Value = c["pwd"];
                    this.j_remember.Checked = true; 
                }
            }
        }

    }
}